package com.hs.shirodemo01.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hs.shirodemo01.pojo.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 郭敖
 * @since 2023-08-18
 */
public interface TbUserService extends IService<TbUser> {
    TbUser login(TbUser user);

    Page<TbUser> findByPage(Integer pageNum,Integer pageSize);
}
